package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
//@Scope(value="singleton")  单实例
@Scope(value="prototype")  //多实例
@Component

public class DBConnect {
}
